# encoding: utf-8
import os
import shutil
if __name__ == '__main__':
    distPath="dist"
    if os.path.isdir(distPath):
        shutil.rmtree("dist")
    os.system("python setup.py sdist build")
    os.system("python setup.py bdist_wheel --universal")
    print("包生成完毕正在准备上传到pipy")
    os.system("twine upload dist/*")